﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;

namespace AmiBrokerPlugin
{
    [StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
    public struct PluginStatus
    {
        public int StructSize;

        public int StatusCode;

        public COLORREF StatusColor;

        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)]
        public string LongMessage;

        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)]
        public string ShortMessage;
    }
}
